<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ page import="com.vcs.domain.*"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="sx" uri="/struts-dojo-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<sx:head />
<title>Post free job</title>
</head>
<body>
<h3><s:text name="postjob.title">Content not available</s:text></h3>
<s:text name="postjob.msg">Content not available</s:text>
<br />
<br />

<s:if test="#session.client != null">
	<table align="center" cellpadding="20" cellspacing="0" border="5"
		bordercolor="#bfbfbf" width="100%">
		<tr>
			<td><s:form action="savejob" javascriptTooltip="true"
				theme="simple" validate="true">
				<table align="center" border="0" cellpadding="5" cellspacing="2"
					width="100%" style="vertical-align: text-top;">
					<tr>
						<td colspan="3" id="reg-form-section-title"><strong>Job Description
						</strong></td>
					</tr>
					<tr>
						<td width="140">Job Title</td>
						<td width="auto"><s:textfield name="jobTitle" maxlength="120" /></td>
						<td id="errerr_msg"  ><s:fielderror
							fieldName="jobTitle" /></td>
					</tr>
					<tr>
						<td width="140">Job Description</td>
						<td width="auto"><s:textarea name="jobDescription" cols="30"
							rows="8" /></td>
						<td id="errerr_msg"  ><s:fielderror
							fieldName="jobDescription" /></td>
					</tr>
					<tr>
						<td width="140">Key Skills</td>
						<td width="auto"><s:textfield name="keySkills" /></td>
						<td id="errerr_msg"  ><s:fielderror
							fieldName="keySkills" /></td>
					</tr>
					<tr>
						<td width="140">Experience</td>
						<td width="auto">
						<table>
							<tr>
								<td>Minimum </td>
								<td><s:select name="minExp"
									list="{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}" />
								</td>
								<td>Years &nbsp;&nbsp;Maximum </td>
								<td><s:select name="maxExp"
									list="{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}" /></td>
								<td>Years</td>	
							</tr>
						</table>
						<td id="err_msg"  ><s:fielderror fieldName="minExp" />
						<s:fielderror fieldName="maxExp" /></td>
					</tr>
					<tr>
						<td width="140">Job Location</td>
						<td width="auto"><s:select name="jobLocation"
							list='#application.locationList' listKey="id" listValue="name" /></td>
						<td id="err_msg"  ><s:fielderror fieldName="jobLocation" /></td>
					</tr>
					<tr>
						<td width="140">Functional Area</td>
						<td width="auto"><s:select list="#application.funcAreaList"
							listKey="id" listValue="name" name="functionalArea" /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="functionalArea" /></td>
					</tr>
					<tr>
						<td width="140">Job Role</td>
						<td width="auto"><s:textfield name="jobRole" /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="jobRole" /></td>
					</tr>
					<tr>
						<td width="140">Compensation Type</td>
						<td width="auto"><s:select name="compensationType"
							list='#{"1":"Fixed","2":"Industry Standards","3":"Negotiable" }' /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="compensationType" /></td>
					</tr>
					<tr>
						<td width="140">Minimum Compensation</td>
						<td width="auto"><s:select name="minCompensation"
							list="#application.compensationAmtList" /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="minCompensation" /></td>
					</tr>
					<tr>
						<td width="140">Maximum Compensation</td>
						<td width="auto"><s:select name="maxCompensation"
							list="#application.compensationAmtList" /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="maxCompensation" /></td>
					</tr>
					<tr>
						<td width="140">Qualification (Minimum)</td>
						<td width="auto"><s:select name="qualification"
							list="#application.qualificationList" listKey="id"
							listValue="name" /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="qualification" /></td>
					</tr>
					<tr>
						<td width="140">Industry</td>
						<td width="auto"><s:select list="#application.industryList"
							listKey="id" listValue="name" name="industry" /></td>
						<td id="err_msg"  ><s:fielderror fieldName="" /></td>
					</tr>
					<tr>
						<td width="140">Company Profile</td>
						<td width="auto"><s:textarea name="companyProfile" cols="30"
							rows="8" /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="companyProfile" /></td>
					</tr>
					<tr>
						<td width="140">Employment Type</td>
						<td width="auto"><s:select name="employmentType"
							list="#application.employmentTypeList" listKey="id"
							listValue="name" /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="employmentType" /></td>
					</tr>
					<tr>
						<td width="140">Employment Status</td>
						<td width="auto"><s:radio
							list='#{"1":"Full Time","2":"Part Time" }'
							name="employmentStatus" /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="employmentStatus" /></td>
					</tr>
					<tr>
						<td width="140">Company Name</td>
						<td width="auto"><s:textfield name="companyName" /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="companyName" /></td>
					</tr>
					<tr>
						<td colspan="3" id="reg-form-section-title"><strong>Contact Details</strong></td>
					</tr>
					<tr>
						<td width="140">Contact Name</td>
						<td width="auto"><s:textfield name="contactName" /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="contactName" /></td>
					</tr>
					<tr>
						<td width="140">Contact Number</td>
						<td width="auto"><s:textfield name="contactNumber" /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="contactNumber" /></td>
					</tr>
					<tr>
						<td width="140">Email for Response</td>
						<td width="auto"><s:textfield name="emailForResponse" /></td>
						<td id="err_msg"  ><s:fielderror
							fieldName="emailForResponse" /></td>
					</tr>
					<tr>
						<td width="140">&nbsp;</td>
						<td width="auto"><s:submit value="Post Job" align="center"></s:submit></td>
						<td>&nbsp;</td>
					</tr>
				</table>
			</s:form></td>
		</tr>
	</table>
</s:if>

</body>
</html>